home *** CD-ROM | disk | FTP | other *** search
- ID_BUTTON = 0
- ID_FRAME = 7
- PGUI_1STBUTTON_DOWN = 0
- PGUI_1STBUTTON_UP = 1
- PGUI_1STBUTTON_CLCK = 2
- PGUI_1STBUTTON_DBLCLCK = 3
- PGUI_1STBUTTON_DRAG = 4
- PGUI_1STBUTTON_DROP = 5
- PGUI_2NDBUTTON_DOWN = 6
- PGUI_2NDBUTTON_UP = 7
- PGUI_2NDBUTTON_CLCK = 8
- PGUI_2NDBUTTON_DBLCLCK = 9
- PGUI_2NDBUTTON_DRAG = 10
- PGUI_2NDBUTTON_DROP = 11
- PGUI_POINTER_MOVE = 12
- PGUI_POINTER_HOVER = 13
- PGUI_POINTER_LEAVE = 14
- PGUI_POINTER_DRAG_HOVER = 15
- PGUI_POINTER_DRAG_LEAVE = 16
- PGUI_CHAR_PRESSED = 17
- PGUI_KEY_PRESSED = 18
- PGUI_VALUE_CHANGED = 19
- PGUI_RELEASE_FOCUS = 20
- PGUI_INITIALISATION = 21
- PGUI_ANIMATION_FINISHED = 22
-
- CreateGUI("profile");
-
- id23=GUIADDCONTROL {
- Parent = 0,
- Name = "ProfileFrame",
- Title = "ProfileFrame",
- ControlType= ID_FRAME,
- BoundRect = {0,0,1024,768},
- Texture = "GUI/profile_left.dds",
- Rec1STTexture = {0,232,1,233},
-
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "INITPROFILE"},
- },
- };
-
- right=GUIADDCONTROL {
- Parent = id23,
- Name = "profile_right",
- Title = "profile_right",
- ControlType= ID_FRAME,
- BoundRect = {515,192,781,545},
- Texture = "GUI/profile_right.dds",
- ToolTip = "Right",
- Rec1STTexture = {0,0,266,353},
- };
-
- left=GUIADDCONTROL {
- Parent = id23,
- Name = "profile_left",
- Title = "profile_left",
- ControlType= ID_FRAME,
- BoundRect = {248,192,514,545},
- Texture = "GUI/profile_left.dds",
- ToolTip = "Left",
- Rec1STTexture = {0,0,266,353},
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Create",
- ControlType= ID_BUTTON,
- BoundRect = {266,490,375,519},
- Texture = "GUI/profile_left.dds",
- ToolTip = "Create profile",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {0,383,108,411},
- Rec3RDTexture = {510,232,511,233},
- Rec4THTexture = {510,232,511,233},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "INITCREATEBUTTON"},
- {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_CREATE"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Load",
- ControlType= ID_BUTTON,
- BoundRect = {393,490,502,519},
- Texture = "GUI/profile_left.dds",
- ToolTip = "Load profile",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {0,354,108,383},
- Rec3RDTexture = {510,232,511,233},
- Rec4THTexture = {510,232,511,233},
-
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "INITLOADBUTTON"},
- {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_LOAD"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Delete",
- ControlType= ID_BUTTON,
- BoundRect = {522,490,631,519},
- Texture = "GUI/profile_right.dds",
- ToolTip = "Delete profile",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {0,354,108,383},
- Rec3RDTexture = {510,232,511,233},
- Rec4THTexture = {510,232,511,233},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "INITDELETEBUTTON"},
- {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_DELETE"},
- },
- };
-
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Back",
- ControlType= ID_BUTTON,
- BoundRect = {651,490,759,519},
- Texture = "GUI/profile_right.dds",
- ToolTip = "Main menu",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {0,383,108,411},
- Rec3RDTexture = {510,232,511,233},
- Rec4THTexture = {510,232,511,233},
-
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "INITBACKBUTTON"},
- {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_NO"},
- },
- };
-
- radio23 = GUIADDCONTROL {
- Parent = id23,
- Name = "Profile1",
- ControlType= ID_RADIO_BUTTON,
- Title = "Compass",
- BoundRect = {290,306,503,335},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF1"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_1",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {290,306,503,335},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF1t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Profile2",
- ControlType= ID_RADIO_BUTTON,
- BoundRect = {290,346,503,375},
- MessageParentID = radio23,
- Title = "Compass",
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF2"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_2",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {290,346,503,375},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF2t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Profile3",
- ControlType= ID_RADIO_BUTTON,
- BoundRect = {290,386,503,415},
- Title = "Compass",
- MessageParentID = radio23,
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF3"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_3",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {290,386,503,415},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF3t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Profile4",
- ControlType= ID_RADIO_BUTTON,
- BoundRect = {290,426,503,455},
- MessageParentID = radio23,
- Title = "Compass",
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF4"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_4",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {290,426,503,455},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF4t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Profile5",
- ControlType= ID_RADIO_BUTTON,
- BoundRect = {522,306,735,335},
- MessageParentID = radio23,
- Texture = "GUI/profile_right.dds",
- Title = "Compass",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF5"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_5",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {522,306,735,335},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF5t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Profile6",
- ControlType= ID_RADIO_BUTTON,
- BoundRect = {522,346,735,375},
- MessageParentID = radio23,
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Title = "Compass",
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF6"},
- },
- };
-
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_6",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {522,346,735,375},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF6t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Profile7",
- ControlType= ID_RADIO_BUTTON,
- BoundRect = {522,386,735,415},
- MessageParentID = radio23,
- Title = "Compass",
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF7"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_7",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {522,386,735,415},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF7t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "Profile8",
- ControlType= ID_RADIO_BUTTON,
- BoundRect = {522,426,735,455},
- MessageParentID = radio23,
- Title = "Compass",
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- Rec3RDTexture = {0,412,213,440},
- Rec4THTexture = {0,412,213,440},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF8"},
- },
- };
-
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_8",
- ControlType = ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {522,426,735,455},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {510,232,511,233},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "PROF8t"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id23,
- Name = "ProfileText_238",
- Title = "ProfileEdit",
- ControlType = ID_EDIT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {410,257,615,287},
- Texture = "GUI/profile_right.dds",
- Rec1STTexture = {510,232,511,233},
- Rec2NDTexture = {128,64,129,65},
- FontColor = 4290494599,
- FontHeight = 17,
- FontWidth = 9,
- SecRect = {2,0,200,30},
- Rec3RDTexture ={510,232,511,233},
-
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "INITPROFILEEDIT"},
- },
- };
-